import 'package:flutter/material.dart';
import 'package:flutter_app/pages/bottom_nav.dart';
import 'package:flutter_app/routes/router.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: BottomNavPage(),
      theme: ThemeData(
          primaryColor: Colors.amber,
          bottomNavigationBarTheme: const BottomNavigationBarThemeData(
            selectedItemColor: Colors.amber,
          )),
      initialRoute: '/',
      onGenerateRoute: AppRoutes.generateRoute,
    );
  }
}
